<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>IndexCrib</title>
</head>

<body>wahbiang
<?php require("config/config.php") ?>
<?php require("include/dblink.php") ?>
<?php require("include/xmlReader.php") ?>
<?php require("include/topbar.php") ?>
<?php require("include/entity.php") ?>
<?php require("include/param.php") ?>
<?php require("include/ctype.php") ?>
<?php include("include/datepicker.php") ?>
<p>
<script type="text/javascript" src="presentation/jquery/jquery-1.3.1.min.js"></script> 
<script type="text/javascript" src="presentation/jquery/jquery.tablesorter.js"></script>
<?php
$page = $_GET['page'];
$entity = $_GET['entity'];
$function = $_GET['function'];

if($function){
	if(!$page){
		$page = getFunctionPage($function);
	}
}

if($page && $entity){
	getPage("presentation/page/".$page.".xml", $entity, $function);
}

?>
</p>
<script>
$(document).ready(function() 
    { 
        $("#mytable").tablesorter(); 
    } 
); 
</script>
</body>
</html>